
package com.ktgj.common.spring.entity.iata.iata_servicelistrq;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>ProgramCriteriaType complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="ProgramCriteriaType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="CompanyIndexText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="MemberStatusText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *         &lt;element name="PrePaidCertificate" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}PrePaidCertificateType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="ProgamContract" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}ProgamContractType" minOccurs="0"/&gt;
 *         &lt;element name="ProgramAccount" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}ProgramAccountType" maxOccurs="unbounded" minOccurs="0"/&gt;
 *         &lt;element name="ProgramOwner" type="{http://www.iata.org/IATA/2015/00/2018.2/IATA_ServiceListRQ}ProgramOwnerType"/&gt;
 *         &lt;element name="TypeCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProgramCriteriaType", propOrder = {
    "companyIndexText",
    "memberStatusText",
    "name",
    "prePaidCertificate",
    "progamContract",
    "programAccount",
    "programOwner",
    "typeCode"
})
public class ProgramCriteriaType {

    @XmlElement(name = "CompanyIndexText")
    protected String companyIndexText;
    @XmlElement(name = "MemberStatusText")
    protected String memberStatusText;
    @XmlElement(name = "Name")
    protected String name;
    @XmlElement(name = "PrePaidCertificate")
    protected List<PrePaidCertificateType> prePaidCertificate;
    @XmlElement(name = "ProgamContract")
    protected ProgamContractType progamContract;
    @XmlElement(name = "ProgramAccount")
    protected List<ProgramAccountType> programAccount;
    @XmlElement(name = "ProgramOwner", required = true)
    protected ProgramOwnerType programOwner;
    @XmlElement(name = "TypeCode")
    protected String typeCode;

    /**
     * 获取companyIndexText属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCompanyIndexText() {
        return companyIndexText;
    }

    /**
     * 设置companyIndexText属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCompanyIndexText(String value) {
        this.companyIndexText = value;
    }

    /**
     * 获取memberStatusText属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMemberStatusText() {
        return memberStatusText;
    }

    /**
     * 设置memberStatusText属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMemberStatusText(String value) {
        this.memberStatusText = value;
    }

    /**
     * 获取name属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * 设置name属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the prePaidCertificate property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the prePaidCertificate property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getPrePaidCertificate().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link PrePaidCertificateType }
     * 
     * 
     */
    public List<PrePaidCertificateType> getPrePaidCertificate() {
        if (prePaidCertificate == null) {
            prePaidCertificate = new ArrayList<PrePaidCertificateType>();
        }
        return this.prePaidCertificate;
    }

    /**
     * 获取progamContract属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ProgamContractType }
     *     
     */
    public ProgamContractType getProgamContract() {
        return progamContract;
    }

    /**
     * 设置progamContract属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ProgamContractType }
     *     
     */
    public void setProgamContract(ProgamContractType value) {
        this.progamContract = value;
    }

    /**
     * Gets the value of the programAccount property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the programAccount property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getProgramAccount().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ProgramAccountType }
     * 
     * 
     */
    public List<ProgramAccountType> getProgramAccount() {
        if (programAccount == null) {
            programAccount = new ArrayList<ProgramAccountType>();
        }
        return this.programAccount;
    }

    /**
     * 获取programOwner属性的值。
     * 
     * @return
     *     possible object is
     *     {@link ProgramOwnerType }
     *     
     */
    public ProgramOwnerType getProgramOwner() {
        return programOwner;
    }

    /**
     * 设置programOwner属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link ProgramOwnerType }
     *     
     */
    public void setProgramOwner(ProgramOwnerType value) {
        this.programOwner = value;
    }

    /**
     * 获取typeCode属性的值。
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTypeCode() {
        return typeCode;
    }

    /**
     * 设置typeCode属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTypeCode(String value) {
        this.typeCode = value;
    }

}
